/*
 * Copyright (c) 2020 hebeiyiliuba.com
 * All rights reserved.
 *
 */
package org.jeecg.modules.third.oapi.alct56.dto.req.shippingnote;

import lombok.Data;

import java.io.Serializable;

/**
 * 头部信息
 *
 * @author duanlikao
 * @created 2021/7/8
 */
@Data
public class HeadDTO implements Serializable {
    //private final long serialVersionUID = -2465140747749709626L;

    private String messageReferenceNumber ;//	报文的唯一标识符	string	最长200位	必填	报文的唯一标识符，由发送方生成
    private String documentName	;//	文档类型	string	最长36位	必填	固定值shipment
    private String documentVersionNumber;//		文档版本号	String	最长12位	必填	目前为1.0
    private String senderCode	;//	企业编号	string	最长36位	必填	企业编号  如E0000001
    private String recipientCode;//		接受方	string	最长36位	必填	固定值alct
    private String messageSendingDateTime;//		发送时间	datetime		选填
    private String messageFunctionCode;//	方法名称	string	最长36位	必填	两个固定值 create 或 update



    public String getMessageReferenceNumber() {
        return messageReferenceNumber;
    }

    public void setMessageReferenceNumber(String messageReferenceNumber) {
        this.messageReferenceNumber = messageReferenceNumber;
    }

    public String getDocumentName() {
        return documentName = "shipment";
    }

    public void setDocumentName(String documentName) {
        this.documentName = documentName;
    }

    public String getDocumentVersionNumber() {
        return documentVersionNumber = "1.0";
    }

    public void setDocumentVersionNumber(String documentVersionNumber) {
        this.documentVersionNumber = documentVersionNumber;
    }

    public String getSenderCode() {
        return senderCode;
    }

    public void setSenderCode(String senderCode) {
        this.senderCode = senderCode;
    }

    public String getRecipientCode() {
        return recipientCode = "alct";
    }

    public void setRecipientCode(String recipientCode) {
        this.recipientCode = recipientCode;
    }

    public String getMessageSendingDateTime() {
        return messageSendingDateTime;
    }

    public void setMessageSendingDateTime(String messageSendingDateTime) {
        this.messageSendingDateTime = messageSendingDateTime;
    }

    public String getMessageFunctionCode() {
        return messageFunctionCode = "create";
    }

    public void setMessageFunctionCode(String messageFunctionCode) {
        this.messageFunctionCode = messageFunctionCode;
    }
}
